@pushd %~dp0
@cmd
@popd